package sing.cloud.alibaba.seata.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import sing.cloud.alibaba.seata.domain.Order;

/**
 * @author xing
 * @date 2022/9/3 17:36
 */
@Mapper
public interface IOrderMapper {

    /**
     * 创建订单
     */
    int create(@Param("order") Order order);

    /**
     * 修改订单金额
     */
    int updateEndOrderForNotEndById(@Param("userId") Long userId);
}
